package com.pand.model.city;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 
 * @ClassName: City 
 * @Description: 城市信息定义
 * @author zouyan
 * @date 2015年12月09日 下午4:30:06 
 *
 */
@Entity
@Table(name = "RES_CITY")
public class City implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = -6293156795087056094L;
	
	/**
     * 城市编码
     */
	private String cityCode;
	
	/**
	 * 城市名称
	 */
	private String cityName;
	
	/**
	 * 城市全称
	 */
	private String likeName;
	/**
	 * 经度
	 */
	private Double longitude;
	/**
	 * 纬度
	 */
	private Double latitude;
	/**
	 * 是否开放
	 */
	private Integer isOpen;

	/**
	 * 运营区域图片信息
	 */
	private String operationIMG;

	@Id
	@Column(name="CITY_CODE")
	public String getCityCode() {
		return cityCode;
	}

	public void setCityCode(String cityCode) {
		this.cityCode = cityCode;
	}
    @Column(name="CITY_NAME")
	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	@Column(name="LIKE_NAME")
	public String getLikeName() {
		return likeName;
	}

	public void setLikeName(String likeName) {
		this.likeName = likeName;
	}
	@Column(name="LONGITUDE")
	public Double getLongitude() {
		return longitude;
	}

	public void setLongitude(Double longitude) {
		this.longitude = longitude;
	}
	@Column(name="LATITUDE")
	public Double getLatitude() {
		return latitude;
	}

	public void setLatitude(Double latitude) {
		this.latitude = latitude;
	}
	@Column(name="IS_OPEN")
	public Integer getIsOpen() {
		return isOpen;
	}

	public void setIsOpen(Integer isOpen) {
		this.isOpen = isOpen;
	}
	@Column(name="OPERATION_IMG")
	public String getOperationIMG() {
		return operationIMG;
	}

	public void setOperationIMG(String operationIMG) {
		this.operationIMG = operationIMG;
	}
}
